package com.ltg.urban.domain.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ltg.framework.util.http.PageInfo;
import com.ltg.framework.util.http.Result;
import com.ltg.urban.domain.sys.data.request.ModifyMenuReq;
import com.ltg.urban.domain.sys.entity.SysMenu;

/**
 * <p> ClassName: SysMenuService </p>
 * <p> Package: com.ltg.urban.domain.sys.service </p>
 * <p> Description: </p>
 * <p></p>
 *
 * @Author: LTG
 * @Create: 2023/2/24 - 11:39
 * @Version: v1.0
 */
public interface SysMenuService extends IService<SysMenu> {
    PageInfo<SysMenu> pageLis(Page<SysMenu> buildFromRequest);


    Result<SysMenu> create(ModifyMenuReq req);

    Result<SysMenu> modify(String menuId, ModifyMenuReq req);

}
